GtkScale: Add missing nullable annotations
authorTimm Bäder <mail@baedert.org>
Wed, 2 Dec 2015 10:19:48 +0000 (11:19 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 2 Dec 2015 20:06:11 +0000 (21:06 +0100)
gtk/gtkscale.c

index 4b73c528ce6fc0ab64d775be90b71aff9ec7b26a..07a7a61efec0bbd37d29322c35f53c4ee0d44857 100644 (file)
@@ -601,7 +601,7 @@ gtk_scale_get_property (GObject      *object,
 /**
  * gtk_scale_new:
  * @orientation: the scale’s orientation.
- * @adjustment: (allow-none): the #GtkAdjustment which sets the range
+ * @adjustment: (allow-none) (nullable): the #GtkAdjustment which sets the range
  *              of the scale, or %NULL to create a new adjustment.
  *
  * Creates a new #GtkScale.
@@ -1455,7 +1455,7 @@ gtk_scale_finalize (GObject *object)
  * object is owned by the scale so does not need to be freed by
  * the caller.
  *
- * Returns: (transfer none): the #PangoLayout for this scale,
+ * Returns: (transfer none) (nullable): the #PangoLayout for this scale,
  *     or %NULL if the #GtkScale:draw-value property is %FALSE.
  *
  * Since: 2.4